projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df8b9f
)
(message_dolog): Fix bug of the case that *Message*
author
Kenichi Handa
<handa@m17n.org>
Wed, 15 Jan 2003 06:38:54 +0000
(06:38 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 15 Jan 2003 06:38:54 +0000
(06:38 +0000)
buffer is unibyte.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index cdf9d38df5a780a5b5831166dbf24a42b0da579d..769d861e36c5ea39cca6c9536208de5ee044b8eb 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-5759,7
+5759,7
@@
message_dolog (m, nbytes, nlflag, multibyte)
/* Convert a multibyte string to single-byte
for the *Message* buffer. */
- for (i = 0; i < nbytes; i +=
n
bytes)
+ for (i = 0; i < nbytes; i +=
char_
bytes)
{
c = string_char_and_length (m + i, nbytes - i, &char_bytes);
work[0] = (SINGLE_BYTE_CHAR_P (c)